package org.chen.ctrip.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.chen.common.ctrip.entity.CustomDayContent;

@Mapper
public interface CustomDayContentMapper extends BaseMapper<CustomDayContent> {
    
    /**
     * 根据条件查找匹配的自定义内容
     */
    CustomDayContent findMatchingContent(@Param("platform") String platform,
                                       @Param("dayType") String dayType,
                                       @Param("departureCity") String departureCity,
                                       @Param("destinationCity") String destinationCity);
}